﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
        <form method="post">
            <p>名称<input type="text" name="Name" /></p>
            <p>数量<input type="text" name="Quantity" /></p>
            <button type="submit">提交</button>
        </form>
        @if (ViewBag.Peng != null)
        {
            var peng = ViewBag.Peng as T3.Models.Peng;
            <p>名称：@peng.Name</p>
            <p>数量：@peng.Quantity</p>
        }
    </div>
</body>
</html>
